package com.uas.model;

/**
 * created by shicr on 2017/11/19
 **/
public class Book {

    private String name;

    private String author;

    private float price;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public float getPrice() {
        return price;
    }

    public void setPrice(float price) {
        this.price = price;
    }

    public void say(){
        System.out.println("这本书的名字叫"+this.name+",这本书的价格是"+this.price);
    }
}
